package core

import (
	"KumquatDrivesServices/StorageEngine"
	"KumquatDrivesServices/StorageEngine/LocalStorage"
	"KumquatDrivesServices/global"
)

func InitStorageEngine() StorageEngine.StorageEngineStruct {
	if !global.Config.LocalStorage.Empty() {
		return &LocalStorage.LocalEngine{}
	}
	global.Config.LocalStorage.UploadPath = "Upload"
	return &LocalStorage.LocalEngine{}
}
